package com.aiju.utils;

import android.widget.Toast;

import com.aiju.app.DataProviderManager;

public class T {

    private T() {
        throw new UnsupportedOperationException("cannot be instantiated");
    }

    public  static void ToastShort(String msg){
        Toast.makeText(DataProviderManager.getContext(), msg, Toast.LENGTH_SHORT).show();
    }

    public  static void ToastLong(String msg){
        Toast.makeText(DataProviderManager.getContext(), msg, Toast.LENGTH_LONG).show();
    }

    public  static void ToastNetError(){
        Toast.makeText(DataProviderManager.getContext(), "网络异常，请检查网络设置", Toast.LENGTH_LONG).show();
    }
}
